package com.sky.mapper;

import com.sky.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface WxUserMapper {
    @Select("SELECT COUNT(*) FROM user WHERE openid = #{openid}")
    User queryUser(String openid);
    void insetUser(User newUser);

}
